program MyProg;

type
  (* TMyClass declaration *)
  TMyClass = class
  private
   (* field fx of TMyClass *)
   fx: Integer;
  public
    (* declaration of TMyClass.P *)
    class procedure P; 
    (* declaration of TMyClass.x *)
    property x: Integer read fx; 
  end;


(* implementation of TMyClass.P *)

class procedure TMyClass.P;
begin
end;  

// myproc

procedure myproc(x: Integer; y: String);
begin
end;

begin
end.